<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.box{
				display: flex;
				width: 1000px;
				height: 800px;
				margin: 50px auto;
				flex-direction:column-reverse;
				justify-content: space-around;
				border: 1px solid black;
			}
			.box div:nth-child(1){
				width: 200px;
				height: 200px;
				background-color: red;
				
			}
			.box div:nth-child(2){
				width: 200px;
				height: 200px;
				background-color: yellow;
			}
			.box div:nth-child(3){
				width: 200px;
				height: 200px;
				background-color: magenta;
			}
		</style>
	</head>
	<body>
		<dix class="box">
			<div>1</div>
			<div>2</div>
			<div>3</div>
		</dix>
	</body>
</html>
